
<template>
  <div :style="{textAlign:props.componentSchema.align}">
   <span> {{props.componentSchema.name?props.componentSchema.name:'未命名'}}</span>
  </div>
</template>

<script lang="ts" setup>
import { defineProps, ref } from 'vue'
const props = defineProps({
  componentSchema: {
    default: () => ({}),
    type: Object,
  },
  modelValue: {
    default: () => ({}),
    type: Object,
  },
});
</script>